<?php
namespace app\equi\controller;

use think\Controller;

class Base extends Controller{
	
	public function _empty(){
		die(myJSON(array("code"=>9999,"msg"=>"base:请求地址错误!")));
	}

	public function _mustPost(){
		if(!request()->isPost()){
			die(myJSON(array("code"=>9999,"msg"=>"不是post请求!")));
		}
		
	}


	public function __construct(){
		$this->res = array("code"=>0,"msg"=>"ok","data"=>"");
	}


}
?>